﻿/* 11. Write a program that prints all possible cards from a standard deck of 52 cards (without jokers). 
 * The cards should be printed with their English names. Use nested for loops and switch-case. */

using System;

public class AllCardsInDeck
{
    public static void Main()
    {
        Console.WriteLine("--------------------");

        for (int i = 1; i < 5; i++)
        {
            for (int j = 2; j < 15; j++)
            {
                switch (j)
                {
                    case 2:
                    case 3:
                    case 4:
                    case 5:
                    case 6:
                    case 7:
                    case 8:
                    case 9:
                    case 10: { Console.Write(j); break; }
                    case 11: { Console.Write("Jack"); break; }
                    case 12: { Console.Write("Queen"); break; }
                    case 13: { Console.Write("King"); break; }
                    case 14: { Console.Write("Ace"); break; }
                    default: break;
                }

                Console.Write(" ");

                switch (i)
                {
                    case 1: { Console.Write("Clubs"); break; }
                    case 2: { Console.Write("Diamonds"); break; }
                    case 3: { Console.Write("Hearts"); break; }
                    case 4: { Console.Write("Spades"); break; }
                    default: break;
                }

                Console.WriteLine();
            }

            if (i < 4)
                Console.WriteLine("-----");
        }

        Console.WriteLine("--------------------");
    }
}